package com.example.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Create By ChenXiAoBin
 * on 2019/1/18
 */
@Data
@TableName("employee_clock")
public class EmployeeClock {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "iD")
    private Integer id;

    @TableField("employee_id")
    @ApiModelProperty(value = "员工id")
    private Integer employeeId;

    @TableField("beg_clock_time")
    @ApiModelProperty(value = "上班打卡时间")
    private Date begClockTime;

    @TableField("end_clock_time")
    @ApiModelProperty(value = "下班打卡时间")
    private Date endClockTime;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @TableField("is_late")
    @ApiModelProperty(value = "是否迟到 1是 0否")
    private Integer isLate;

    @TableField("leave_early")
    @ApiModelProperty(value = "是否早退 1是 0否")
    private Integer leaveEarly;

}
